package com.enjoy.ui;

import java.util.List;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;

import com.enjoy.R;


public class Welcome extends Activity{
	Button eventButton;
	Button infoButton;
	
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.welcome);
		
		eventButton = (Button)findViewById(R.id.welcome_bt_event);
		infoButton = (Button)findViewById(R.id.welcome_bt_info);
		
		
		eventButton.setOnClickListener(new OnClickListener() {
			

			public void onClick(View v) {
				Intent intent = new Intent();
				intent.setClass(Welcome.this, FindPlace.class);
				startActivity(intent);
				
			}
		});
		
	}
}
